<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/fmt.tld"  prefix="fmt"%>

	<div title="选择布控车辆" id="controlVehicleDialog">
	<!-- 查询条件列表 -->
	<div id="sltControlVehicle" style="width:100%;height:80px;">
		<label>号牌号码</label>
		<input type="text" id="txtHPHM">
		<label style="margin-left:20px;">布控类型</label>		
		<select id="sltBKLX">
			<option value="">--请选择--</option>
		<c:forEach items="${listControlType}" var="controlType">
			<option value="${controlType.id }">${controlType.name }</option>
		</c:forEach>
		</select>				
		<br>
		<label>号牌种类</label>
		<select id="sltHPZL">
			<option value="">--请选择--</option>
		<c:forEach items="${listLicencePlateKind}" var="licencePlateKind">
			<option value="${licencePlateKind.id }">${licencePlateKind.name }</option>
		</c:forEach>
		</select>
		<button style="margin-left:40px;" onclick="findControlVehicleListForSelect()">查询</button>			
		<button style="margin-left:20px;"onclick="clearInput('sltControlVehicle');">重置</button>		
	</div>

	<table>
		<tr>
			<td valign="top">
				<div style="width:340px;height:160px;overflow:scroll;">
					<table id="leftControlVehicles" style="min-width:400px;" cellspacing="0" cellpadding="0">
						<tbody>
							<tr>
								<td></td>
							</tr>
						</tbody>
					</table>
				</div>
			</td>
			<td style="width:80px;" align="center">
				<button style="width:60px;" onclick="moveFromObjToObj('leftControlVehicles','rightControlVehicles')">&gt;</button>
				<button style="width:60px;margin-top:10px;"  onclick="moveFromObjToObjAll('leftControlVehicles','rightControlVehicles')">&gt;&gt;</button>
				<button style="width:60px;margin-top:10px;"  onclick="moveFromObjToObjAll('rightControlVehicles','leftControlVehicles')">&lt;&lt;</button>
				<button style="width:60px;margin-top:10px;" onclick="moveFromObjToObj('rightControlVehicles','leftControlVehicles')">&lt;</button>
			</td>
			<td valign="top">
				<div style="width:340px;height:160px;overflow:scroll;">
					<table id="rightControlVehicles" style="min-width:400px;" cellspacing="0" cellpadding="0">
						<thead>
							<tr>
								<td>号牌号码</td>
								<td>号牌种类</td>
								<td>布控类型</td>
								<td>车辆类型</td>
								<td>备注</td>
							</tr>
						</thead>
						<tbody></tbody>
					</table>
				</div>
			</td>
		</tr>
	</table>
</div>
<script>
	$("#sltControlVehicle button").button();
	setTableCSS("rightControlVehicles");
</script>

